package com.code2roc.fastboot;


import com.code2roc.fastboot.framework.config.SystemConfig;
import com.code2roc.fastboot.framework.file.*;
import com.code2roc.fastboot.framework.util.BeanUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.MultipartConfigFactory;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

import javax.servlet.MultipartConfigElement;

@MapperScan(basePackages = {"com.code2roc.fastboot.*.dao", "com.code2roc.fastboot.*.*.dao"})
@SpringBootApplication(scanBasePackages = {"com.code2roc"})
@ComponentScan(basePackages = {"com.code2roc"})
public class FastBootApplication {

    public static void main(String[] args) {
        SpringApplication.run(FastBootApplication.class, args);
    }
}
